<!DOCTYPE html>
<p>You should see PASS followed by an unpaired surrogate (missing/replacement glyph) and a Arabic Alef.</p>
<svg>
  <text y="20"></text>
</svg>
<script>
if (window.testRunner)
  testRunner.dumpAsText();
document.querySelector('text').textContent = 'PASS\ud82e\u0627';
</script>
